#ifndef __TEXTURE_H__
#define __TEXTURE_H__

#include <GLES2/gl2.h>

class Texture
{
	private:
		int width, height;
		GLuint id;
		GLfloat x, y, w, h;

	public:
		static GLint total;

		Texture();
		~Texture();

		int load(const char * filename);
		void draw();

		void setX(GLfloat newX) { x = newX; }
		void setY(GLfloat newY) { y = newY; }
		GLuint getID() { return id; }
};

#endif // __TEXTURE_H__